package com.eureka.client;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

@FeignClient(value = "ClientA")
public interface ClientA {

    @GetMapping("/getName")
    String getName();

    @GetMapping("/getNiceName/{name}")
    String getNiceName(@PathVariable("name") String name);

    @GetMapping("/timeoutMethod")
    String timeoutMethod();

}
